package com.qy.service;

import com.qy.model.Evaluation;
import com.qy.base.core.Service;
import com.qy.model.Policy;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


/**
 * Created by zaq on 2018/07/10.
 */
public interface EvaluationService extends Service<Evaluation> {
    public List<Evaluation> selectEvaluationByUserId(Policy policy);

    public List<Map> selectEvaluationListByUserId(Evaluation evaluation);

    public List<Map> evaluationList(@Param("user_name") String user_name, @Param("phone") String phone, @Param("policy_type") Integer policy_type, @Param("policy_need") String policy_need);

    public Map<String,Object> selectUnitListAndChargeList(List<Map> list);

}
